﻿#pragma once

#include"KuGouApi.h"
#include<qstring.h>
class KuGouApiSource1 : public KuGouApi
{
public:
    //提供mp3Hash、mvHash
    //包含歌词，歌名、歌手、language
    QString searchSongs(const QString& keyword, int page = 1,int pageSize = 20) override;
    QString getMusic(const QString& musicHash) override;

    QString searchMvUrl(const QString& keyword, int page = 1, int pageSize = 20) override;
    QString mvUrl(const QString& mvHash) override;
    QString searchLyrics(const QString& songName,int duration);
    QString searchLyrics(const QString& songName, int duration, const QString& musicHash);
    QString getLyrics(const QString& id, const QString& accessKey);
    ~KuGouApiSource1();
};

